﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.TextMining.TextScraping
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class BoxedContentProvider
    {
        private string _PdfFilePath;
        /// <summary></summary>
        public string PdfFilePath
        {
            get
            {
                return this._PdfFilePath;
            }
            set
            {
                this._PdfFilePath = value;
            }
        }

        private int _PageNumber;
        /// <summary></summary>
        public int PageNumber
        {
            get
            {
                return this._PageNumber;
            }
            set
            {
                this._PageNumber = value;
            }
        }

        private float _MinRectWidth;
        /// <summary></summary>
        public float MinRectWidth
        {
            get
            {
                return this._MinRectWidth;
            }
            set
            {
                this._MinRectWidth = value;
            }
        }

        private float _MinRectHeight;
        /// <summary></summary>
        public float MinRectHeight
        {
            get
            {
                return this._MinRectHeight;
            }
            set
            {
                this._MinRectHeight = value;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="pdfFilePath"></param>
        /// <param name="pageNum"></param>
        /// <param name="minW"></param>
        /// <param name="minH"></param>
        public BoxedContentProvider(string pdfFilePath, int pageNum, float minW, float minH)
        {
            this._PdfFilePath = pdfFilePath;
            this._PageNumber = pageNum;
            this._MinRectWidth = minW;
            this._MinRectHeight = minH;
        }
    }
}
